<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: C:/Dvlp/_Perso/QxOrm/include/QxFunction/QxFunctionMacro.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_qx_function_macro_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a>  </div>
  <div class="headertitle">
<div class="title">QxFunctionMacro.h File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;boost/utility/value_init.hpp&gt;</code><br/>
<code>#include &lt;boost/type_traits/remove_const.hpp&gt;</code><br/>
</div>
<p><a href="_qx_function_macro_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_function_macro_8h.html#ae4c33b7e12dab68fc24e2a9f1e97e91a">QX_FUNCTION_CLASS_FCT</a>(className)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_function_macro_8h.html#ae23648870b47aa30903a86037bc9cb59">QX_FUNCTION_CLASS_MEMBER_FCT</a>(className)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_function_macro_8h.html#a7ac13e5fed845598d25afa1a9a1900bb">QX_FUNCTION_CATCH_AND_RETURN_INVOKE</a>()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_function_macro_8h.html#a52ebd039b37e235c4ae4c814b6e6c184">QX_FUNCTION_INVOKE_START_WITH_OWNER</a>()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_function_macro_8h.html#a14ba418335dc5e08e2b06fc8fdb71d37">QX_FUNCTION_INVOKE_START_WITHOUT_OWNER</a>()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_function_macro_8h.html#a057b01d3a4d271357caa83b51038a710">QX_FUNCTION_FETCH_PARAM</a>(TYPE, VALUE, FCT)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_function_macro_8h.html#a0c7b7c5ac9141efeee4f5baf3703215d">QX_FUNCTION_GET_PARAM_TYPE_ANY</a>(PARAMCOUNT)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_function_macro_8h.html#a69ee69ab2ed409b74a065e0bd86bcf8a">QX_FUNCTION_GET_PARAM_TYPE_STRING</a>(PARAMCOUNT)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_function_macro_8h.html#ad5aef6d1490a65a81e30324f2b72c3f8">QX_FUNCTION_GET_PARAM_TYPE_STRING_TO_QSTRING</a>(PARAMCOUNT)</td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="a7ac13e5fed845598d25afa1a9a1900bb"></a><!-- doxytag: member="QxFunctionMacro.h::QX_FUNCTION_CATCH_AND_RETURN_INVOKE" ref="a7ac13e5fed845598d25afa1a9a1900bb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_FUNCTION_CATCH_AND_RETURN_INVOKE</td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception &amp; e) { bValid = <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, e.what()); } \
catch (...) { bValid = <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#a2aebc869b60ed527e8bcc72b9f5f1015">QX_FUNCTION_ERR_UNKNOWN_ERROR</a>); } \
if (! bValid) { QString sMsgDebug = bValid.getDesc(); qDebug(<span class="stringliteral">&quot;[QxOrm] %s&quot;</span>, qPrintable(sMsgDebug)); <a class="code" href="_qx_macro_8h.html#a70ab6c4ed8eb3e23107f171e0b41d612">qAssert</a>(<span class="keyword">false</span>); } \
return bValid;
</pre></div>
<p>Definition at line <a class="el" href="_qx_function_macro_8h_source.html#l00074">74</a> of file <a class="el" href="_qx_function_macro_8h_source.html">QxFunctionMacro.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae4c33b7e12dab68fc24e2a9f1e97e91a"></a><!-- doxytag: member="QxFunctionMacro.h::QX_FUNCTION_CLASS_FCT" ref="ae4c33b7e12dab68fc24e2a9f1e97e91a" args="(className)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_FUNCTION_CLASS_FCT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">className</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keyword">public</span>: \
type_fct m_fct; \
className(type_fct fct) : IxFunction(), m_fct(fct) { ; }; \
virtual ~className() { ; }; \
virtual <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> invoke(<span class="keyword">const</span> QString &amp; params = QString(), boost::any * ret = NULL) const \
{ <span class="keywordflow">return</span> QxInvokerFct&lt;QString, ! boost::is_same&lt;R, void&gt;::value&gt;::invoke(params, ret, <span class="keyword">this</span>); } \
virtual <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> invoke(<span class="keyword">const</span> type_any_params &amp; params, boost::any * ret = NULL) const \
{ <span class="keywordflow">return</span> QxInvokerFct&lt;type_any_params, ! boost::is_same&lt;R, void&gt;::value&gt;::invoke(params, ret, <span class="keyword">this</span>); } \
virtual <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> invoke(<span class="keywordtype">void</span> * pOwner, <span class="keyword">const</span> QString &amp; params = QString(), boost::any * ret = NULL) const \
{ Q_UNUSED(pOwner); Q_UNUSED(params); Q_UNUSED(ret); <a class="code" href="_qx_macro_8h.html#a70ab6c4ed8eb3e23107f171e0b41d612">qAssert</a>(<span class="keyword">false</span>); <span class="keywordflow">return</span> <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#ac6779e588954fec3e9d04f4832f95c91">QX_FUNCTION_ERR_INVALID_INVOKE_CALL</a>); } \
virtual <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> invoke(<span class="keywordtype">void</span> * pOwner, <span class="keyword">const</span> type_any_params &amp; params, boost::any * ret = NULL) const \
{ Q_UNUSED(pOwner); Q_UNUSED(params); Q_UNUSED(ret); <a class="code" href="_qx_macro_8h.html#a70ab6c4ed8eb3e23107f171e0b41d612">qAssert</a>(<span class="keyword">false</span>); <span class="keywordflow">return</span> <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#ac6779e588954fec3e9d04f4832f95c91">QX_FUNCTION_ERR_INVALID_INVOKE_CALL</a>); } \
virtual <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> isValidFct() const \
{ <span class="keywordflow">return</span> (m_fct.empty() ? <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#abb5292c4067b1d2947fedd3ae6a0b1bc">QX_FUNCTION_ERR_EMPTY_FCT</a>) : <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a>(true)); }
</pre></div>
<p>Definition at line <a class="el" href="_qx_function_macro_8h_source.html#l00042">42</a> of file <a class="el" href="_qx_function_macro_8h_source.html">QxFunctionMacro.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae23648870b47aa30903a86037bc9cb59"></a><!-- doxytag: member="QxFunctionMacro.h::QX_FUNCTION_CLASS_MEMBER_FCT" ref="ae23648870b47aa30903a86037bc9cb59" args="(className)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_FUNCTION_CLASS_MEMBER_FCT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">className</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keyword">public</span>: \
type_fct m_fct; \
className(type_fct fct) : IxFunction(), m_fct(fct) { ; }; \
virtual ~className() { ; }; \
virtual <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> invoke(<span class="keywordtype">void</span> * pOwner, <span class="keyword">const</span> QString &amp; params = QString(), boost::any * ret = NULL) const \
{ <span class="keywordflow">return</span> QxInvokerFct&lt;QString, ! boost::is_same&lt;R, void&gt;::value&gt;::invoke(pOwner, params, ret, <span class="keyword">this</span>); } \
virtual <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> invoke(<span class="keywordtype">void</span> * pOwner, <span class="keyword">const</span> type_any_params &amp; params, boost::any * ret = NULL) const \
{ <span class="keywordflow">return</span> QxInvokerFct&lt;type_any_params, ! boost::is_same&lt;R, void&gt;::value&gt;::invoke(pOwner, params, ret, <span class="keyword">this</span>); } \
virtual <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> invoke(<span class="keyword">const</span> QString &amp; params = QString(), boost::any * ret = NULL) const \
{ Q_UNUSED(params); Q_UNUSED(ret); <a class="code" href="_qx_macro_8h.html#a70ab6c4ed8eb3e23107f171e0b41d612">qAssert</a>(<span class="keyword">false</span>); <span class="keywordflow">return</span> <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#ac6779e588954fec3e9d04f4832f95c91">QX_FUNCTION_ERR_INVALID_INVOKE_CALL</a>); } \
virtual <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> invoke(<span class="keyword">const</span> type_any_params &amp; params, boost::any * ret = NULL) const \
{ Q_UNUSED(params); Q_UNUSED(ret); <a class="code" href="_qx_macro_8h.html#a70ab6c4ed8eb3e23107f171e0b41d612">qAssert</a>(<span class="keyword">false</span>); <span class="keywordflow">return</span> <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#ac6779e588954fec3e9d04f4832f95c91">QX_FUNCTION_ERR_INVALID_INVOKE_CALL</a>); } \
virtual <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> isValidFct() const \
{ <span class="keywordflow">return</span> (m_fct.empty() ? <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#a6ed6e31cfd230957ff37e50d32e91c0e">QX_FUNCTION_ERR_EMPTY_MEMBER_FCT</a>) : <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a>(true)); }
</pre></div>
<p>Definition at line <a class="el" href="_qx_function_macro_8h_source.html#l00058">58</a> of file <a class="el" href="_qx_function_macro_8h_source.html">QxFunctionMacro.h</a>.</p>

</div>
</div>
<a class="anchor" id="a057b01d3a4d271357caa83b51038a710"></a><!-- doxytag: member="QxFunctionMacro.h::QX_FUNCTION_FETCH_PARAM" ref="a057b01d3a4d271357caa83b51038a710" args="(TYPE, VALUE, FCT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_FUNCTION_FETCH_PARAM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">TYPE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">VALUE, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">FCT&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment">boost::value_initialized&lt; typename boost::remove_const&lt; TYPE &gt;::type &gt; VALUE; \
{ <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> bTmp = qx::function::detail::FCT(params, VALUE.data(), pThis); \
if (! bTmp) { QString sMsgDebug = bTmp.<a class="code" href="classqx_1_1_qx_bool.html#aa7bbfbe011a8ac8a0219dc37346b1275">getDesc</a>(); qDebug(<span class="stringliteral">&quot;[QxOrm] %s&quot;</span>, qPrintable(sMsgDebug)); <a class="code" href="_qx_macro_8h.html#a70ab6c4ed8eb3e23107f171e0b41d612">qAssert</a>(<span class="keyword">false</span>); <span class="keywordflow">return</span> bTmp; } }
</pre></div>
<p>Definition at line <a class="el" href="_qx_function_macro_8h_source.html#l00090">90</a> of file <a class="el" href="_qx_function_macro_8h_source.html">QxFunctionMacro.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0c7b7c5ac9141efeee4f5baf3703215d"></a><!-- doxytag: member="QxFunctionMacro.h::QX_FUNCTION_GET_PARAM_TYPE_ANY" ref="a0c7b7c5ac9141efeee4f5baf3703215d" args="(PARAMCOUNT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_FUNCTION_GET_PARAM_TYPE_ANY</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">PARAMCOUNT</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment">Q_UNUSED(qx_fct); \
if (params.size() &lt; PARAMCOUNT) { <span class="keywordflow">return</span> <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#ad91c73519efc58adbb256c7a79f5a830">QX_FUNCTION_ERR_NUMBER_PARAMS</a>); } \
qx_bool bValid = <span class="keyword">true</span>; \
try { p = boost::any_cast&lt;P&gt;(params[PARAMCOUNT - 1]); } \
catch (...) { bValid = <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, QString(<a class="code" href="_qx_function_error_8h.html#a8d8d9ea0d4cbb633e6d56eea0381e408">QX_FUNCTION_ERR_INVALID_PARAM</a>).replace(<span class="stringliteral">&quot;XXX&quot;</span>, QString::number(PARAMCOUNT))); } \
return bValid;
</pre></div>
<p>Definition at line <a class="el" href="_qx_function_macro_8h_source.html#l00095">95</a> of file <a class="el" href="_qx_function_macro_8h_source.html">QxFunctionMacro.h</a>.</p>

</div>
</div>
<a class="anchor" id="a69ee69ab2ed409b74a065e0bd86bcf8a"></a><!-- doxytag: member="QxFunctionMacro.h::QX_FUNCTION_GET_PARAM_TYPE_STRING" ref="a69ee69ab2ed409b74a065e0bd86bcf8a" args="(PARAMCOUNT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_FUNCTION_GET_PARAM_TYPE_STRING</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">PARAMCOUNT</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">if</span> (! qx_fct) { <span class="keywordflow">return</span> <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#a2aebc869b60ed527e8bcc72b9f5f1015">QX_FUNCTION_ERR_UNKNOWN_ERROR</a>); } \
QStringList lst = params.split(qx_fct-&gt;getSeparator()); \
if (lst.size() &lt; PARAMCOUNT) { <span class="keywordflow">return</span> <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#ad91c73519efc58adbb256c7a79f5a830">QX_FUNCTION_ERR_NUMBER_PARAMS</a>); } \
qx_bool bValid = <span class="keyword">true</span>; \
try { p = boost::lexical_cast&lt;P&gt;(lst.at(PARAMCOUNT - 1).toStdString()); } \
catch (...) { bValid = <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, QString(<a class="code" href="_qx_function_error_8h.html#a8d8d9ea0d4cbb633e6d56eea0381e408">QX_FUNCTION_ERR_INVALID_PARAM</a>).replace(<span class="stringliteral">&quot;XXX&quot;</span>, QString::number(PARAMCOUNT))); } \
return bValid;
</pre></div>
<p>Definition at line <a class="el" href="_qx_function_macro_8h_source.html#l00104">104</a> of file <a class="el" href="_qx_function_macro_8h_source.html">QxFunctionMacro.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad5aef6d1490a65a81e30324f2b72c3f8"></a><!-- doxytag: member="QxFunctionMacro.h::QX_FUNCTION_GET_PARAM_TYPE_STRING_TO_QSTRING" ref="ad5aef6d1490a65a81e30324f2b72c3f8" args="(PARAMCOUNT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_FUNCTION_GET_PARAM_TYPE_STRING_TO_QSTRING</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">PARAMCOUNT</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">if</span> (! qx_fct) { <span class="keywordflow">return</span> <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#a2aebc869b60ed527e8bcc72b9f5f1015">QX_FUNCTION_ERR_UNKNOWN_ERROR</a>); } \
QStringList lst = params.split(qx_fct-&gt;getSeparator()); \
if (lst.size() &lt; PARAMCOUNT) { <span class="keywordflow">return</span> <a class="code" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>(<span class="keyword">false</span>, 0, <a class="code" href="_qx_function_error_8h.html#ad91c73519efc58adbb256c7a79f5a830">QX_FUNCTION_ERR_NUMBER_PARAMS</a>); } \
p = lst.at(PARAMCOUNT - 1); \
return <span class="keyword">true</span>;
</pre></div>
<p>Definition at line <a class="el" href="_qx_function_macro_8h_source.html#l00123">123</a> of file <a class="el" href="_qx_function_macro_8h_source.html">QxFunctionMacro.h</a>.</p>

</div>
</div>
<a class="anchor" id="a52ebd039b37e235c4ae4c814b6e6c184"></a><!-- doxytag: member="QxFunctionMacro.h::QX_FUNCTION_INVOKE_START_WITH_OWNER" ref="a52ebd039b37e235c4ae4c814b6e6c184" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_FUNCTION_INVOKE_START_WITH_OWNER</td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">if</span> (ret) { (* ret) = boost::any(); } \
qx_bool bValid = pThis-&gt;isValid&lt;T, Owner&gt;(pOwner, params, NULL); \
if (! bValid) { QString sMsgDebug = bValid.getDesc(); qDebug(<span class="stringliteral">&quot;[QxOrm] %s&quot;</span>, qPrintable(sMsgDebug)); <a class="code" href="_qx_macro_8h.html#a70ab6c4ed8eb3e23107f171e0b41d612">qAssert</a>(<span class="keyword">false</span>); <span class="keywordflow">return</span> bValid; }
</pre></div>
<p>Definition at line <a class="el" href="_qx_function_macro_8h_source.html#l00080">80</a> of file <a class="el" href="_qx_function_macro_8h_source.html">QxFunctionMacro.h</a>.</p>

</div>
</div>
<a class="anchor" id="a14ba418335dc5e08e2b06fc8fdb71d37"></a><!-- doxytag: member="QxFunctionMacro.h::QX_FUNCTION_INVOKE_START_WITHOUT_OWNER" ref="a14ba418335dc5e08e2b06fc8fdb71d37" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_FUNCTION_INVOKE_START_WITHOUT_OWNER</td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">if</span> (ret) { (* ret) = boost::any(); } \
qx_bool bValid = pThis-&gt;isValid(params); \
if (! bValid) { QString sMsgDebug = bValid.getDesc(); qDebug(<span class="stringliteral">&quot;[QxOrm] %s&quot;</span>, qPrintable(sMsgDebug)); <a class="code" href="_qx_macro_8h.html#a70ab6c4ed8eb3e23107f171e0b41d612">qAssert</a>(<span class="keyword">false</span>); <span class="keywordflow">return</span> bValid; }
</pre></div>
<p>Definition at line <a class="el" href="_qx_function_macro_8h_source.html#l00085">85</a> of file <a class="el" href="_qx_function_macro_8h_source.html">QxFunctionMacro.h</a>.</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_qx_function_macro_8h.html">QxFunctionMacro.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:07 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
